home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.tip.net!usenet
- From: mats@plea.se (Mats Magnusson)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Lha bigger than contents
- Date: 2 Feb 1996 21:47:25 GMT
- Organization: Uniplus Internet Access
- Message-ID: <1607.6605T505T567@plea.se>
- References: <19960111.418EA0.E2DD@ak190.du.pipex.com> <68771048@0humpty.tomate.tng.oche.de>
- NNTP-Posting-Host: beatles.plea.se
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
-
- >> : this is the second time now, I got an LhArc Archive, that is much bigger
- >> : than its contents. The arc I am talking about was 202442 bytes large,
- >> : 'LhA v fcout.pre' resulted in:
-
- >> : 1002 381 61.9% 10-Jan-96 19:57:10 1 files
- >> Most likely the archive is corrupt. Try "LhA t fcout.pre" to test it.
-
- >No, it isn't corrupt, at least not visible. It happened now a third time to
-
- Well, i think that LHA doesn't read more of the file that the structrures
- of the file points. So if the last part of the file is added by some other
- way than using lha itself, lha won't notice that the file has grown in
- size. Maybe it's some fix to be able to extract files locaded on badly
- coded filesystems that don't report correct file sizes or EOF's.
-
- Anyway, try to do a copy of the file, and try to remove something like a
- bit more than the file lha shows of it, just 'cut' the first part with
- something like CED or so, and then try to LHA V the resulting file.
- That's also something that LHA handles better than f.ex. ZIP or others, lha
- can find the packed files and extract them correctly even if you only have
- some middle-chunk of the whole file.
-
- A possible reason for the file being 'enlarged' is that some stupid BBS has
- added file descriptions or so, and only looks at the file extention to
- choose what 'packer' to use, and then uses some obscure thing if the file
- is named .pre, similar has happend to me, try to rename an lhx file to
- .lha, or otherway, and upload it on some 'elite' bbs, and download it, and
- look what's happend. Sometimes nothing can be de-archied of the file
- anymode :(
-
-